mt8173: support big/Little cluster power off for CPU idle(C2 state)
authorJimmy Huang <[email protected]>
Mon, 16 Nov 2015 06:33:35 +0000 (14:33 +0800)
committerYidi Lin <[email protected]>
Tue, 26 Jan 2016 05:55:12 +0000 (13:55 +0800)
commit8e53ec53b6381fef325539cb13d6164dbc6c308e
tree6b958036f269f6ebee884dbc9ea0d6969a43ced7
parent3c454d52e1cb1d9412d5d9d4c491a5db1eca306a
mt8173: support big/Little cluster power off for CPU idle(C2 state)

1. add power control for both big and Little cluster in MCDI
2. fix incorrect PCM_HOTPLUG_VALID_MASK in spm_hotplug.c
3. check the power status of cpus in cluster before setting the cputop
   power control

Change-Id: Ifa85306a8bc218098667247904d281494c2f7bfe
Signed-off-by: Weiyi Lu <[email protected]>
plat/mediatek/mt8173/drivers/spm/spm_hotplug.c
plat/mediatek/mt8173/drivers/spm/spm_mcdi.c
plat/mediatek/mt8173/drivers/spm/spm_mcdi.h
plat/mediatek/mt8173/plat_pm.c